package com.cmc.cloud.cmclink.doc.vo.sovo.requirementsvo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.time.LocalDateTime;

/**
 * 订舱附加要求Response VO
 *
 * @author codegen
 */
@Schema(description = "管理后台 - 订舱附加要求 Response VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class RequirementsRespVO extends RequirementsBaseVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "4818")
    private Long id;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "数据对比结果")
    Boolean compareResult;

    public Boolean getCompareResult() {
        if (compareResult == null) {
            return false;
        }
        return compareResult;
    }
}
